package com.mr.dao.entity.customer;

import javax.persistence.Entity;
import javax.persistence.Enumerated;
import javax.persistence.ManyToOne;

import com.mr.constants.Tables;
import com.mr.constants.enumeration.CustomerType;
import com.mr.dao.entity.BaseEntity;

@Entity(name = Tables.BILLING)
public class Billing extends BaseEntity {
	private static final long serialVersionUID = 2170447272046544884L;
	private String first_name;
	private String last_name;
	private String company;
	private String address_1;
	private String address_2;
	private String city;
	private String state_prov;
	private String zip_code;
	private String country;
	private String daytime_phone;
	@Enumerated
	private CustomerType customer_type;
	@ManyToOne
	private Customer customer_account;

	public String getFirst_name() {
		return first_name;
	}

	public void setFirst_name(String first_name) {
		this.first_name = first_name;
	}

	public String getLast_name() {
		return last_name;
	}

	public void setLast_name(String last_name) {
		this.last_name = last_name;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getAddress_1() {
		return address_1;
	}

	public void setAddress_1(String address_1) {
		this.address_1 = address_1;
	}

	public String getAddress_2() {
		return address_2;
	}

	public void setAddress_2(String address_2) {
		this.address_2 = address_2;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getState_prov() {
		return state_prov;
	}

	public void setState_prov(String state_prov) {
		this.state_prov = state_prov;
	}

	public String getZip_code() {
		return zip_code;
	}

	public void setZip_code(String zip_code) {
		this.zip_code = zip_code;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getDaytime_phone() {
		return daytime_phone;
	}

	public void setDaytime_phone(String daytime_phone) {
		this.daytime_phone = daytime_phone;
	}

	public CustomerType getCustomer_type() {
		return customer_type;
	}

	public void setCustomer_type(CustomerType customer_type) {
		this.customer_type = customer_type;
	}

	public Customer getCustomer_account() {
		return customer_account;
	}

	public void setCustomer_account(Customer customer_account) {
		this.customer_account = customer_account;
	}
}
